Neha Gyawali
4/26/2022
Unnecessary violence employed by many police officers throughout the US is an issue that needs to be addressed and dealt with. Recently, police fatalities have been highlighted in the media for their often unjust natures. Black men especially seem to be more targeted than the rest of the population. Let’s take a look at police fatalities data that has been gathered by the Washington Post starting from 2015 to now to help us understand what demographic is at risk. We will take a look at the top 25 most fatal cities and break down the fatalities by race. We will also compare the race breakdown of the fatalities to the race breakdown of the population of the cities. For this we will use census data obtained from https://www.statsamerica.org/town/ that gives us demographic data for US cities.
# Load tidyverse to manipulate data
# Load usmap to make plot
# Load ggplot2 and plotly for graphing,
# load lubridate to configure date settings for plotting
# load zoo for timeseries data configuration
library(tidyverse, warn.conflicts = F)
options(tidyverse.quiet = TRUE)
library(usmap, warn.conflicts = F)
library(ggplot2, warn.conflicts = F)
library(plotly, warn.conflicts = F)
library(lubridate)
library(zoo)
#read data
data <- read_csv("fatal-police-shootings-data.csv")
top25 <- read_csv("top25.csv")
top25 <- top25[1:25,]
top25 <- top25[,1:8]Â Here we can see the difference in the number of female versus male
fatalities. This helps us understand the demographic that is in danger
of being killed by a police officer.
 When looking at this breakdown, we can tell that males are much more likely to die from a police fatality than women.
First lets look at the number of people that have been killed by the police broken down by race.
| race | count |
|---|---|
| Asian | 105 |
| Black | 1593 |
| Hispanic | 1088 |
| Native American | 91 |
| Other | 47 |
| White | 3022 |
| NA | 1300 |
Now, lets look at the race breakdown by percentage of the number of people killed by police officers versus the population breakdown of the United States by percentage.
 These race breakdown charts show that the race breakdown of police fatalities are not proportional to the race breakdown of the United States as a whole. White people make up 60% of the population while they are only 20% of the fatalities. While Black people make up 13.4% of the population and are 21.9% of all fatalities. Hispanic people are
Some text about this table and how interesting the results are!
 Using these graphs we can see the top 25 cities with the most police fatalities. The first graph shows us the race breakdown in numbers and the second one shows us the race breakdown in percentage. We can see that in cities such as Chicago, Columbus, New York City, St.Louis, Atlanta, Louisville, and Philadelphia, Black people make up more than 50% of fatalities. Lets now look at the population breakdown of these cities to see they are proportional.
When looking at this graph that shows us average police fatalities per day over time, we see that some of the major decreases can be accounted for by the pandemic when every one had to stay at home. Other dips could be accounted for as a result of protests over infamous deaths